package com.zxf.appliction.domain;

public class Staff {
	
	    private String stname ;

	    private String stgender ;

	    private String stprofession ;

	    private String stdepartment ; // 部门

	    //如果改为double类型，这个上传的值不能为空值，所有改为string类型
	    private String staffsalary ; //月薪

	    private String staffzone ; //区号
	    private String sttelphone ; //号码

	    private String stmobile ; //手机号码

	    private String stemail ; //邮箱

	    private String staffprovince ;
	    private String staffcity ;
	    private String staffcounty;
	    
	    private String staddress;
	    private String stjobnumber;

	    /**
	     * 这个file类型在这里是有问题的，不象struts可进行封装，如果有上传文件，
	     * 就不能整个对象传过去了，所有要进行删除
	     */
	    //private File avatar ; //头像

		
		 public Staff(String stname, String stgender, String stprofession,
				String stdepartment, String staffsalary, String staffzone,
				String sttelphone, String stmobile, String stemail,
				String staffprovince, String staffcity, String staffcounty,
				String staddress, String stjobnumber) {
			super();
			this.stname = stname;
			this.stgender = stgender;
			this.stprofession = stprofession;
			this.stdepartment = stdepartment;
			this.staffsalary = staffsalary;
			this.staffzone = staffzone;
			this.sttelphone = sttelphone;
			this.stmobile = stmobile;
			this.stemail = stemail;
			this.staffprovince = staffprovince;
			this.staffcity = staffcity;
			this.staffcounty = staffcounty;
			this.staddress = staddress;
			this.stjobnumber = stjobnumber;
		}
		
		public Staff() {
			super();
			// TODO Auto-generated constructor stub
		}
		public void setStname(String stname) {
				this.stname = stname;
			}
		public String getStname() {
				return stname;
			}
		public String getStgender() {
			return stgender;
		}

		public void setStgender(String stgender) {
			this.stgender = stgender;
		}

		public String getStprofession() {
			return stprofession;
		}

		public void setStprofession(String stprofession) {
			this.stprofession = stprofession;
		}

		public String getStdepartment() {
			return stdepartment;
		}

		public void setStdepartment(String stdepartment) {
			this.stdepartment = stdepartment;
		}

		public String getSttelphone() {
			return sttelphone;
		}

		public void setSttelphone(String sttelphone) {
			this.sttelphone = sttelphone;
		}

		public String getStmobile() {
			return stmobile;
		}

		public void setStmobile(String stmobile) {
			this.stmobile = stmobile;
		}

		public String getStemail() {
			return stemail;
		}

		public void setStemail(String stemail) {
			this.stemail = stemail;
		}

		public String getStaddress() {
			return staddress;
		}

		public void setStaddress(String staddress) {
			this.staddress = staddress;
		}

		public String getStjobnumber() {
			return stjobnumber;
		}

		public void setStjobnumber(String stjobnumber) {
			this.stjobnumber = stjobnumber;
		}

		

	  

	    public String getStaffsalary() {
	        return staffsalary;
	    }

	    public void setStaffsalary(String staffsalary) {
	        this.staffsalary = staffsalary;
	    }

	    public String getStaffzone() {
	        return staffzone;
	    }

	    public void setStaffzone(String staffzone) {
	        this.staffzone = staffzone;
	    }

	   

	    public String getStaffprovince() {
	        return staffprovince;
	    }

	    public void setStaffprovince(String staffprovince) {
	        this.staffprovince = staffprovince;
	    }

	    public String getStaffcity() {
	        return staffcity;
	    }

	    public void setStaffcity(String staffcity) {
	        this.staffcity = staffcity;
	    }

	    public String getStaffcounty() {
	        return staffcounty;
	    }

	    public void setStaffcounty(String staffcounty) {
	        this.staffcounty = staffcounty;
	    }

		public void setStavatar(String fileName) {
			// TODO Auto-generated method stub
			
		}

		public void setStsalary(double salary) {
			// TODO Auto-generated method stub
			
		}

	   
	

	

}
